<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<!-- 标题 -->
	<title>渔人码头</title>
	<!-- 关键词 -->
	<meta name="keywords" content="" />
	<!-- 网站简介 -->
    <meta name="description" content="" />
    <!-- 自适应屏幕 -->
	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
	<!-- IE兼容 -->
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<!-- 最新 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="css/bootstrap.css">
	<!-- 核心 CSS 文件 -->
	<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body onload="time()">
    <!-- Start message -->
    <div class="message">
        <img src="images/right.png" alt="">
        <h3>订单提交成功</h3>
        <p><span id="msg" style="margin-right:2px"></span>秒后进入订单界面</p>
    </div>
    <!-- End message -->

	<!-- jQuery文件 -->
	<script src="js/jquery.min.js"></script>
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="js/bootstrap.min.js"></script>
	<script type="text/javascript">
		var count = 4;
		function time(){
		    count--;
		    if(count <= 0){
		        window.location="order.html"
		    }
		    document.getElementById('msg').innerHTML = count;
		    setTimeout(time,1000);
		}

</script>
</body>
</html>